/* 横幅 */
.banner {
    background-color: var(--bg-primary);
    color: #fff;
    text-align: center;
    height: 250px;
    overflow: hidden;
}

.banner h2 {
    margin-top: 120px;
}

/* 主要内容 */
.main {
    overflow: hidden;
    margin: 30px 0;
}

.main .container .main-box{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.main .container .main-box .article-box {
    flex: 4;
}

.main .container .main-box .article-box .article-list {
    width: 100%;
    min-height: 170px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}

.main .container .main-box .article-box .article-list .article-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.main .container .main-box .article-box .article-list .article-item:first-of-type {
    padding-top: 0;
}

.main .container .main-box .article-box .article-list .article-item:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.main .container .main-box .article-box .article-list .article-item .article-head {
    display: flex;
    gap: 5px;
    color: #666;
}

.main .container .main-box .article-box .article-list .article-item .article-head .name {
    color: var(--text-primary);
}

.main .container .main-box .article-box .article-list .article-item .article-main .title {
    margin-bottom: 5px;
    cursor: pointer;
}

.main .container .main-box .article-box .article-list .article-item .article-main .content {
    line-height: 25px;
}

.main .container .main-box .article-box .article-list .article-item .article-footer {
    display: flex;
    margin-top: 5px;
    gap: 10px;
}

.main .container .main-box .article-box .article-list .article-item .article-footer .tag {
    border-radius: 3px;
    background-color: #ffc107;
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
}

.main .container .main-box .article-box .paginator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 12px;
}

.main .container .main-box .article-box .paginator button {
    border: 0;
    outline: 0;
}

.main .container .main-box .article-box .paginator button,
.main .container .main-box .article-box .paginator .num {
    background-color: #f4f4f5;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: .2s ease;
}

.main .container .main-box .article-box .paginator .num:hover {
    color: var(--text-primary);
}

.main .container .main-box .article-box .paginator .num.active {
    background-color: var(--bg-primary);
    color: #fff;
}

.main .container .main-box .sidebar {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 360px;
    color: #333;
}

.main .container .main-box .sidebar .sidebar-pic {
    width: 100%;
    height: 200px;
}

.main .container .main-box .sidebar .sidebar-main {
    padding: 10px 20px;
    font-size: 14px;
}

.main .container .main-box .sidebar .sidebar-main .title {
    text-align: center;
    margin-bottom: 5px;
}

.main .container .main-box .sidebar .sidebar-main .content {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.main .container .main-box .sidebar .sidebar-main .bottom {
    display: flex;
    gap: 10px;
}

.main .container .main-box .sidebar .sidebar-main .bottom > div {
    flex: 1;
    margin-top: 15px;
    border: 1px solid var(--bg-primary);
    color: var(--bg-primary);
    border-radius: 3px;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
}

.main .container .main-box .sidebar .sidebar-main .bottom .add {
    background-color: var(--bg-primary);
    color: #fff;
}

.main .container .main-box .sidebar .sidebar-main .bottom .add a {
    color: inherit;
}

